package com.doubi.model.sys;

import java.util.Date;
import java.io.Serializable;
import java.util.Date;

import com.baomidou.mybatisplus.annotation.*;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import lombok.*;
import lombok.experimental.Accessors;

/**
 * 档期
 *
 * @author MrDoubi
 * @since 2020-03-17
 */
@Data
@TableName("t_hotel_schedule")
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = true)
public class THotelSchedule extends Model<THotelSchedule> {

    private static final long serialVersionUID = 1L;

    @TableId(value = "oid", type = IdType.UUID)

    private String oid;


    @Override
    protected Serializable pkVal() {
        return this.oid;
    }

    @TableField("hotel_oid")

    private String hotelOid;


    @TableField("wedding_oid")

    private String weddingOid;


    @TableField("create_time")

    private Date createTime;


    /**
     * 订单num
     */
    @TableField("order_oid")

    private String orderOid;


    /**
     * 预定日期
     */
    @TableField("time")

    private Date time;


    /**
     * 0无  1可以预定  2不可预订
     */
    @TableField("status")

    private Integer status;


    @TableField("user_oid")
    private String userOid;
    @TableField("note")
    private String note;


}